import http from "@/utils/request";
export const login = params => http.post("/api/v1/user_signup", params, true);
export const getWechatShareOpt = params => http.get("/api/v1/wxSign", params, true);
export const orderPay = params => http.post("/api/v1/pay_order", params, true);
export const getTitle = params =>  http.get('/api/v1/contentTypeList',  params )  // 聚合页获取标题
export const getContentByType = params =>  http.get('/api/v1/contentWithType', params )  // 聚合页根据type获取内容
export const postUserUpdate = params => http.post("/api/v1/user_update", params, true);
export const getTodayLucky = params => http.get("/api/v1/get_wxday_content",params, true);



